if $programname == 'kube-proxy' then {
   action(type="omfile" file="/var/log/kube-slave/kube-proxy.log")
}